package no.rmz.chez.chess.pieces;

import java.util.Collection;

import no.rmz.chez.chess.board.ChessBoard;
import no.rmz.chez.chess.board.Color;
import no.rmz.chez.chess.board.Coord;
import no.rmz.chez.game.Move;

public final class Rook extends ChessPiece {
    public Rook(Color c) {
        super(c, "Rook", "R");
    }
    
    @Override
    public void addMoves(Collection<Move> result, ChessBoard b, Coord c) {
        addNEWSRays     (result, b, c);
    }
}